//
// Created by zhfayuan on 2021/7/2.
//

#include "GBGwStreamSource.h"
GBGwStreamSource::GBGwStreamSource()
{

}
GBGwStreamSource::~GBGwStreamSource()
{

}
int GBGwStreamSource::open(const char *url, const char *params)
{
    return 0;
}

void GBGwStreamSource::close()
{

}
int GBGwStreamSource::seek(int64_t pts)
{
    return 0;
}

bool GBGwStreamSource::forceKeyFrame()
{
    return false;
}

int GBGwStreamSource::getDuration()
{
    return 0;
}

bool GBGwStreamSource::getFormat(MFormat &fmt)
{
    return false;
}

bool GBGwStreamSource::isOpen()
{
    return false;
}

const char * GBGwStreamSource::getUrl()
{
    return "";
}

int GBGwStreamSource::startStream()
{
    return 0;
}

int GBGwStreamSource::pauseStream()
{
    return 0;
}

void GBGwStreamSource::stopStream()
{

}

int GBGwStreamSource::getState()
{
    return 0;
}

void GBGwStreamSource::setSink(MStreamSink *sink)
{

}

int64_t GBGwStreamSource::getTime()
{
    return 0;
}

bool GBGwStreamSource::isSeekable()
{
    return false;
}

int GBGwStreamSource::setScale(double scale)
{
    return 0;
}

double GBGwStreamSource::getScale()
{
    return 0.0;
}
int GBGwStreamSource::setRange(int64_t beginPts, int64_t endPts)
{
    return 0;
}